<template>
    <div>
        <div v-if="$route.query.orderId">
            <detail/>
        </div>
        <div v-else>
            <allOrder/>
        </div>
    </div>
</template>

<script setup lang="ts">
import {useRoute} from "vue-router";
import Detail from './detail/index.vue'
import allOrder from '@/pages/user/order/allOrder/index.vue'
let $route = useRoute()


</script>


<style scoped lang="scss">



</style>